//参数配置
const parameter = {
    namespaced: true,
    state: {
        updateTime: 20000,//首页数据更新时间间隔
        uploadDataTime: 24,//上传数据不能超过的
        regionData: [
            { name: "汶川县", value: 1 },
            { name: "茂县", value: 2 },
            { name: "马尔康市", value: 3 },
            { name: "松潘县", value: 4 },
            { name: "小金县", value: 5 },
            { name: "九寨沟县", value: 6 },
            { name: "若尔盖县", value: 7 },
            { name: "阿坝县", value: 8 },
            { name: "金川县", value: 9 },
            { name: "理县", value: 10 },
            { name: "红原县", value: 11 },
            { name: "黑水县", value: 12 },
            { name: "壤塘县", value: 13 }
        ],
        // 机构性质
        orgproperty: [
            { label: "机关", value: '10' },
            { label: "科研设计单位", value: '20' },
            { label: "高等教育单位", value: '21' },
            { label: "中初教育单位", value: '22' },
            { label: "卫生医疗单位", value: '23' },
            { label: "其他事业单位", value: '29' },
            { label: "国有企业", value: '31' },
            { label: "三资企业", value: '32' },
            { label: "其他企业", value: '39' },
            { label: "部队", value: '40' },
            { label: "农村建制村", value: '55' },
            { label: "城市社区", value: '56' },
            { label: "其他", value: '99' },
            { label: "公立医疗机构", value: '60' },
            { label: "民营医疗机构", value: '61' },
            { label: "基层卫生机构", value: '62' }
        ],
        //接入方式
        accessmethod:[
            { label: "VPN方式", value: '01' },
            { label: "可信技术", value: '02' },
            { label: "白名单技术", value: '03' },
            { label: "对称密钥认证方式", value: '04' },
            { label: "第三方证书", value: '05' },
            { label: "摘要认证方式", value: '06' },
        ],
        //机构等级
        orglevel:[
            { label: "一级", value: '1' },
            { label: "二级", value: '2' },
            { label: "三级", value: '3' },
            { label: "未定级", value: '0' },
        ],
        //机构等次
        orghierarchy:[
            { label: "甲等", value: '0' },
            { label: "乙等", value: '1' },
            { label: "未知", value: '3' },
        ],
        uploadState: [
            { label: "上传成功", value: 0 },
            { label: "未上传", value: 1 },
            { label: "上传失败", value: 2 }
        ],
        sexs: [
            { label: '未知', value: 0 },
            { label: '男', value: 1 },
            { label: '女', value: 2 }
        ]
    },
    getters: {
        orgproperty: state => state.orgproperty,
        accessmethod: state => state.accessmethod,
        orglevel: state => state.orglevel,
        orghierarchy: state => state.orghierarchy,

        updateTime: state => state.updateTime,
        regionData: state => state.regionData,
        uploadState: state => state.uploadState,
        uploadDataTime: state => state.uploadDataTime,
        sexs: state => state.sexs
    }
}

export default parameter